package com.sunday.demo.lod2.test;

import com.sunday.demo.lod2.Deserializable;

/**
  @program: design-patterns
  @author: Jh
  @create: 2021-09-01 10:56
*/
public class LodTest2 {

    private Deserializable deserializable;

    public LodTest2(Deserializable deserializable){
        this.deserializable = deserializable;
    }



    public Object deserialize(String str) {
        return deserializable.deserialize(str);
    }
}
